package com.kedacom.demo.modb.rabbitmq.message;

/**
 * 创建用户帐号的sql及事件消息
 * @author luocanfeng
 * @date 2013-1-10
 */
public final class UpdateAccountSqlAndEventMessage extends ModbMessage {

	private String accountMoid;
	private String sql;
	private Object[] sqlArgs;

	public UpdateAccountSqlAndEventMessage() {
		super();
		super.setMessageType(MessageType.UPDATE_ACCOUNT_SQL_AND_EVNET);
	}

	public UpdateAccountSqlAndEventMessage(String accountMoid, String sql, Object... sqlArgs) {
		this();
		this.accountMoid = accountMoid;
		this.sql = sql;
		this.sqlArgs = sqlArgs;
	}

	public String getAccountMoid() {
		return accountMoid;
	}

	public void setAccountMoid(String accountMoid) {
		this.accountMoid = accountMoid;
	}

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public Object[] getSqlArgs() {
		return sqlArgs;
	}

	public void setSqlArgs(Object[] sqlArgs) {
		this.sqlArgs = sqlArgs;
	}

}
